package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @description: 新增ipc配件关联关系
 * @author: qinjianhui
 * @create: 2024-08-28 14:02
 **/
@Data
public class IpcAccessorySaveReq {
    @Schema(name = "accessoryId",description = "配件id")
    @NotBlank(message="accessory.id.not.null")
    private String accessoryId;

    @Schema(name = "accessorySn",description = "配件sn")
    @NotBlank(message="accessory.sn.not.null")
    private String accessorySn;

    @Schema(name = "alarmHubId",description = "网关设备id")
    @NotBlank(message="alarm.hub.id.not.null")
    private String alarmHubId;

    @Schema(name = "alarmHubSn",description = "网关设备sn")
    @NotBlank(message="alarm.hub.sn.not.null")
    private String alarmHubSn;

    @Schema(name = "ipcId",description = "ipc设备id")
    @NotBlank(message="ipc.id.not.null")
    private String ipcId;

    @Schema(name = "ipcSn",description = "ipc设备sn")
    @NotBlank(message="ipc.sn.not.null")
    private String ipcSn;
}

